This should ensure that all editors which support
https://editorconfig.org/ use the correct indentation
with spaces (not tabs) by default.
This is hardly a full specification of our coding style,
but it's a correct subset and better than nothing.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3137>
--- /dev/null
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+
+indent_style = space
+trim_trailing_whitespace = true
+
+[*.js]
+indent_size = 4
+
+[*.[ch]]
+indent_size = 2
+
+[*.gresource.xml]
+indent_size = 2
+
+[*.ui]
+indent_size = 2
+
+[meson.build]
+indent_size = 2